// F.F.D Script Creations
// Release date: 2011-09-27
// More info: http://blogandtipsblog.blogspot.com
// user defined variable
// --------------------------------------------------------------------------------------
// var AuReC_timeSet=30;
// var cboxmain_height=270;
// var cboxform_height=90;
// var AuReC_autoLoad=true;
// var AuReC_infoText='Auto-refresh:';
// var AuReC_onOptionText='ON';
// var AuReC_onOptionTitle='Click to check automatically for new messages';
// var AuReC_offOptionText='OFF';
// var AuReC_offOptionTitle='Stop automatic checking for new messages';
// the script
// --------------------------------------------------------------------------------------
var AuReC_chatFrameName='cboxmain';
var AuReC_showOption=true; // true or false (true:tampilkan tombol, false:sembunyikan)
var AuReC_loopRefresh;
AuReC_creditURL='http://www.betterfreedownload.com';
AuReC_creditText='&copy;F.F.D Team';
AuReC_creditTitle='F.F.D Creations';
function AuReC_refresh() {
AuReC_messageBox=document.getElementsByName(AuReC_chatFrameName)[0];
AuReC_messageBox.src=AuReC_messageBox.src;
AuReC_realTimeSet=AuReC_timeSet*1000;
AuReC_loopRefresh=setTimeout('AuReC_refresh()',AuReC_realTimeSet);
}
function AuReC_writeElement() {
document.write('<table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin:0; padding:0; color:#666; font-family:Tahoma,Arial,sans-serif; font-size:11px; line-height:13px;"><tbody><tr>');
document.write('<td align="right" width="100%"><div id="AuReC_optionDiv" style="vertical-align:bottom;">'+AuReC_infoText+' <span onclick="AuReC_setOptionOn();" title="'+AuReC_onOptionTitle+'" style="cursor:pointer;"><input type="radio" name="AuReC_OnOptionRadio" value="on" onclick="AuReC_setOptionOn()" onFocus="this.blur();" style="vertical-align:bottom; cursor:pointer; margin:0 1px 0 3px;" />'+AuReC_onOptionText+'</span>&nbsp;<span onclick="AuReC_setOptionOff();" title="'+AuReC_offOptionTitle+'" style="cursor:pointer;"><input type="radio" name="AuReC_OffOptionRadio" value="off" onclick="AuReC_setOptionOff();" onFocus="this.blur();" style="vertical-align:bottom; cursor:pointer; margin:0 1px 0 3px;" />'+AuReC_offOptionText+'</span></div></td>');
document.write('</tr></tbody></table>');
document.write('<table width="100%" ><tr>');
document.write('<th scope="col" width="50%"><div align="left" style="font-size:8px"><a href="http://blogandtipsblog.blogspot.com/2011/09/how-to-install-auto-reloadrefresh-on.html" align="left" title="Get Script to Change Your Free Cbox Being Cbox Auto Reload" target="_blank">Get This</a></div></th>');
document.write('<th scope="col" width="50%"><div align="right" style="font-size:8px"><a href="'+AuReC_creditURL+'" align="right" title="'+AuReC_creditTitle+'" target="_blank">'+AuReC_creditText+'</a></div></th>');
document.write('</tr></table>');
document.write('</div>');
document.write('<sty'+'le>'
+'#fdsarc_footer '+'{ display:none; } '
+'#fdsarc_footer,#fdsarc_footer td,#fdsarc_footer a '+'{  } '
+'#fdsarc_footer a,#fdsarc_footer a:visited '+'{  } '
+'#fdsarc_footer a:hover '+'{  } ');
document.write('</sty'+'le>');
document.write('<div id="fdsarc_footer">'
+'<a href="http://www.betterfreedownload.com">Free Full Fownload</a>'
+'<br/>'
+'<a href="http://blogandtipsblog.blogspot.com">Blog and Tips Blog</a>'
+'<br/>'
+'<a href="http://freegamestorage.blogspot.com">Free Games Storage</a>'
+'<br/>'
+'<a href="http://android-apkfree.blogspot.com">Android APk Free</a>'
+'</div>');
}
function AuReC_setOptionOn() {
clearTimeout(AuReC_loopRefresh);
if (AuReC_timeSet>=5) {
AuReC_refresh();
}
else {
AuReC_timeSet=15;
AuReC_refresh();
}
document.getElementsByName('AuReC_OnOptionRadio')[0].checked=true;
document.getElementsByName('AuReC_OffOptionRadio')[0].checked=false;
}
function AuReC_setOptionOff() {
clearTimeout(AuReC_loopRefresh);
document.getElementsByName('AuReC_OnOptionRadio')[0].checked=false;
document.getElementsByName('AuReC_OffOptionRadio')[0].checked=true;
}
function AuReC_start() {
AuReC_writeElement();
if (AuReC_showOption) {
document.getElementById('AuReC_optionDiv').style.display='block';
}
else {
document.getElementById('AuReC_optionDiv').style.display='none';
}
if (AuReC_autoLoad) {
AuReC_setOptionOn();
}
else {
AuReC_setOptionOff();
}
}
window.onload=AuReC_start();